package com.nuumoblie.bluetoothtools.ble.db.converter;

import androidx.room.TypeConverter;

import java.util.UUID;

public class UUIDConverter {

    @TypeConverter
    public static UUID revertUUID(String uuid) {
        return UUID.fromString(uuid);
    }

    @TypeConverter
    public static String converterUUID(UUID uuid) {
        return uuid.toString();
    }

}
